package com.mz.mattress.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mz.mattress.api.entity.SaleRatioConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SaleRatioConfigMapper extends BaseMapper<SaleRatioConfig> {

    @Select("select * from mz_sale_ratio_config where deleted=0 order by count asc")
    List<SaleRatioConfig> list();

}
